Part Number Hot Search : 
LVR012S F4585 IRF1010E BJ2510 ME4P12K PC357N2 MAX85 RASH712P
Product Description
Full Text Search
 

To Download LPC11021106 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1. general description the lpc1102 is an arm cortex-m0 based, lo w-cost 32-bit mcu, designed for 8/16-bit microcontroller applications, offering performan ce, low power, simple instruction set and memory addressing together with reduced code size compared to existing 8/16-bit architectures. the lpc1102 operates at cpu fr equencies of up to 50 mhz. the peripheral complement of the lpc1102 incl udes 32 kb of flash memory, 8 kb of data memory, one rs-485/eia-485 uart, one spi in terface with ssp features, four general purpose counter/timers, a 10-bit adc, and 11 general purpose i/o pins. 2. features and benefits ? system: ? arm cortex-m0 processor, running at frequencies of up to 50 mhz. ? arm cortex-m0 built-in nested vectored interrupt controller (nvic). ? serial wire debug. ? system tick timer. ? memory: ? 32 kb on-chip flash programming memory. ? 8 kb sram. ? in-application programming (iap) and in-system programming (isp) support via on-chip bootloader software. ? digital peripherals: ? 11 general purpose i/o (gpio) pins with configurable pull-up/pull-down resistors and programmable open-drain mode. ? gpio pins can be used as edge and level sensitive interrupt sources. ? four general purpose counter/timers with a total of one capture input and nine match outputs. ? programmable windowed watchdog timer (wdt). ? analog peripherals: ? 10-bit adc with input multip lexing among five pins. lpc1102 32-bit arm cortex-m0 microcontrol ler; 32 kb flash and 8 kb sram rev. 4 ? 24 june 2011 product data sheet
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 2 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller ? serial interfaces: ? uart with fractional baud rate generation, internal fifo, and rs-485 support. ? one spi controller with ssp f eatures and with fifo and multi-protocol capabilities (see section 7.16 ). ? clock generation: ? 12 mhz internal rc oscillator trimmed to 1 % accuracy that can optionally be used as a system clock. ? programmable watchdog oscillator with a frequency range of 7.8 khz to 1.8 mhz. ? pll allows cpu operation up to the maximum cpu rate without the need for a high-frequency crystal. may be run from an external clock or the internal rc oscillator. ? power control: ? integrated pmu (power management unit) to minimize power consumption during sleep and deep-sleep modes. ? power profiles residing in boot rom allowing to optimize performance and minimize power consumption for any given application through one simple function call. ? two reduced power modes: sleep and deep-sleep modes. ? processor wake-up from deep-sleep mode via a dedicated start logic using up to six of the functional pins. ? power-on reset (por). ? brownout detect with four separate thre sholds for interrup t and forced reset. ? unique device serial number for identification. ? single 3.3 v power supply (1.8 v to 3.6 v). ? available as wlcsp16 package. 3. applications 4. ordering information 4.1 ordering options ? mobile devices ? 8-/16-bit applications ? consumer peripherals ? portable devices ? lighting table 1. ordering information type number package name description version lpc1102uk wlcsp16 wafer level chip-size package; 16 bumps; 2.17 ? 2.32 ? 0.6 mm - table 2. ordering options type number flash total sram uart rs-485 spi adc channels package lpc1102uk 32 kb 8 kb 1 1 5 wlcsp16
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 3 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 5. block diagram fig 1. lpc1102 block diagram sram 8 kb arm cortex-m0 test/debug interface flash 32 kb high-speed gpio ahb to apb bridge clock generation, power control, system functions xtalin reset clocks and controls swd lpc1102 002aaf524 slave slave slave slave rom slave ahb-lite bus gpio port pio0/1 irc por spi 10-bit adc uart 32-bit counter/timer 0 wdt ioconfig ct32b0_mat[3,1,0] ad[4:0] rxd txd system control pmu 32-bit counter/timer 1 ct32b1_mat[2:0] ct32b1_cap0 16-bit counter/timer 1 16-bit counter/timer 0 ct16b0_mat[2:0] sck, miso, mosi system bus
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 4 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 6. pinning information 6.1 pinning 6.2 pin description fig 2. pin configuration wlcsp16 package 002aaf525 ball a1 index area 1234 a b c d lpc1102uk table 3. lpc1102 pin description table symbol pin start logic input type reset state [1] description reset /pio0_0 c1 [2] yes i i; pu reset ? external reset input with 20 ns glitch filter. a low -going pulse as short as 50 ns on this pin resets the device, causing i/o ports and peripherals to take on their default states, and processor execution to begin at address 0. i/o - pio0_0 ? general purpose digital input/output pin. pio0_8/miso/ ct16b0_mat0 a2 [3] yes i/o i; pu pio0_8 ? general purpose digital input/output pin. i/o - miso0 ? master in slave out for spi. o- ct16b0_mat0 ? match output 0 for 16-bit timer 0. pio0_9/mosi/ ct16b0_mat1 a3 [3] yes i/o i; pu pio0_9 ? general purpose digital input/output pin. i/o - mosi0 ? master out slave in for spi. o- ct16b0_mat1 ? match output 1 for 16-bit timer 0. swclk/ pio0_10/ sck/ct16b0_mat2 a4 [3] yes i i; pu swclk ? serial wire clock. i/o - pio0_10 ? general purpose digital input/output pin. i/o - sck ? serial clock for spi. o- ct16b0_mat2 ? match output 2 for 16-bit timer 0. r/pio0_11/ ad0/ct32b0_mat3 b4 [4] yes - i; pu r ? reserved. i/o - pio0_11 ? general purpose digital input/output pin. i- ad0 ? a/d converter, input 0. i- ct32b0_mat3 ? match output 3 for 32-bit timer 0.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 5 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller [1] pin state at reset for default function: i = input; pu = internal pull-up enabled (pins pulled up to full v dd level (v dd = 3.3 v)). [2] 5 v tolerant pad. see figure 21 for the reset pad configuration. [3] 5 v tolerant pad providing digital i/o functions with conf igurable pull-up/pull-down resistor s and configurable hysteresis ( see figure 20 ). [4] 5 v tolerant pad providing digital i/o functions with conf igurable pull-up/pull-down resistor s, configurable hysteresis, and analog input. when configured as a adc input, digital section of the pad is disabled and the pin is not 5 v tolerant (see figure 20 ). [5] when the external clock is not used, connect xtalin as foll ows: xtalin can be left floating or can be grounded (grounding is preferred to reduce susceptibility to noise). r/pio1_0/ ad1/ct32b1_cap0 b3 [4] yes - i; pu r ? reserved. i/o - pio1_0 ? general purpose digital input/output pin. i- ad1 ? a/d converter, input 1. i- ct32b1_cap0 ? capture input 0 for 32-bit timer 1. r/pio1_1/ ad2/ct32b1_mat0 c4 [4] no - i; pu r ? reserved. i/o - pio1_1 ? general purpose digital input/output pin. i- ad2 ? a/d converter, input 2. o- ct32b1_mat0 ? match output 0 for 32-bit timer 1. r/pio1_2/ ad3/ct32b1_mat1 c3 [4] no - i; pu r ? reserved. i/o - pio1_2 ? general purpose digital input/output pin. i- ad3 ? a/d converter, input 3. o- ct32b1_mat1 ? match output 1 for 32-bit timer 1. swdio/pio 1_3/ad4/ ct32b1_mat2 d4 [4] no i/o i; pu swdio ? serial wire debug input/output. i/o - pio1_3 ? general purpose digital input/output pin. i- ad4 ? a/d converter, input 4. o- ct32b1_mat2 ? match output 2 for 32-bit timer 1. pio1_6/rxd/ ct32b0_mat0 c2 [3] no i/o i; pu pio1_6 ? general purpose digital input/output pin. i- rxd ? receiver input for uart. o- ct32b0_mat0 ? match output 0 for 32-bit timer 0. pio1_7/txd/ ct32b0_mat1 d1 [3] no i/o i; pu pio1_7 ? general purpose digital input/output pin. o- txd ? transmitter output for uart. o- ct32b0_mat1 ? match output 1 for 32-bit timer 0. v dd d2; a1 - i - 3.3 v supply voltage to the internal regulator, the external rail, and the adc. also used as the adc reference voltage. xtalin b2 [5] - i - external clock input and input to internal clock generator circuits. input voltage must not exceed 1.8 v. v ss d3; b1 - i - ground. table 3. lpc1102 pin description table ?continued symbol pin start logic input type reset state [1] description
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 6 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 7. functional description 7.1 arm cortex-m0 processor the arm cortex-m0 is a general purpose, 32-bit microprocessor, which offers high performance and very low power consumption. 7.2 on-chip flash program memory the lpc1102 contains 32 kb of on-chip flash memory. remark: the lpc1102 supports in-application programming (iap) and in-system programming (isp). for isp, since there is no dedicated isp entry pin, user code is required to invoke isp functi onality. unprogrammed parts will automatically boot into isp mode. 7.3 on-chip sram the lpc1102 contains 8 kb on-chip static ram memory. 7.4 memory map the lpc1102 incorporates several distinct memory regions, shown in the following figures. figure 3 shows the overall map of the entire address space from the user program viewpoint following reset. the interrupt vector area supports address remapping. the ahb peripheral area is 2 megabyte in si ze, and is divided to allow for up to 128 peripherals. the apb peripheral ar ea is 512 kb in size and is divided to allow for up to 32 peripherals. each peripheral of either type is allocated 16 kb of space. this allows simplifying the address decoding for each peripheral.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 7 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 7.5 nested vectored inte rrupt controller (nvic) the nested vectored in terrupt controller (nvic) is an integral part of the cortex-m0. the tight coupling to the cpu allows for low interr upt latency and efficient processing of late arriving interrupts. 7.5.1 features ? controls system exceptions and peripheral interrupts. ? in the lpc1102, the nvic supports 19 vectored interrupts including up to 6 inputs to the start logic from individual gpio pins. fig 3. lpc1102 memory map 0x5000 0000 0x5001 0000 0x5002 0000 0x5020 0000 ahb peripherals 127 - 16 reserved gpio pio1 7-4 0x5003 0000 0x5004 0000 reserved reserved 11-8 15-12 gpio pio0 3-0 apb peripherals 0x4000 4000 0x4000 8000 0x4000 c000 0x4001 0000 0x4001 8000 0x4002 0000 0x4002 8000 0x4003 8000 0x4003 c000 0x4004 0000 0x4004 4000 0x4004 8000 0x4004 c000 0x4005 8000 0x4005 c000 0x4008 0000 0x4002 4000 0x4001 c000 0x4001 4000 0x4000 0000 wdt 32-bit counter/timer 0 32-bit counter/timer 1 adc uart pmu reserved 13 - 10 reserved reserved reserved 21 - 19 reserved 31 - 23 reserved 0 1 2 3 4 5 6 7 8 9 16 15 14 17 18 reserved reserved reserved 0x0000 0000 0 gb 0.5 gb 4 gb 1 gb 0x1000 2000 0x1fff 0000 0x1fff 4000 0x2000 0000 0x4000 0000 0x4008 0000 0x5000 0000 0x5020 0000 0xffff ffff reserved reserved reserved apb peripherals ahb peripherals 8 kb sram 0x1000 0000 lpc1102 0x0000 8000 32 kb on-chip flash 16 kb boot rom 0x0000 0000 0x0000 00c0 active interrupt vectors 002aaf526 reserved spi 16-bit counter/timer 1 16-bit counter/timer 0 ioconfig system control 22 reserved flash controller 0xe000 0000 0xe010 0000 private peripheral bus
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 8 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller ? four programmable interrupt priority leve ls, with hardware pr iority level masking. ? software interr upt generation. 7.5.2 interrupt sources each peripheral device has one interrupt line connected to the nvic but may have several interrupt flags. individual interrupt flags may also represent more than one interrupt source. any gpio pin (total of up to 11 pins) re gardless of the selected function, can be programmed to generate an interrupt on a level, or rising edge or falling edge, or both. 7.6 ioconfig block the ioconfig block allows sele cted pins of the microcontroller to have more than one function. configuration registers control the multiplexers to allow connection between the pin and the on-chip peripherals. peripherals should be connected to the appropriate pins prior to being activated and prior to any related interrupt(s) being enabled. activi ty of any enabled peripheral function that is not mapped to a related pin should be considered undefined. 7.7 fast general purpose parallel i/o device pins that are not connec ted to a specific peripheral function are controlled by the gpio registers. pins may be dynamically configured as inputs or outputs. multiple outputs can be set or cleared in one write operation. the lpc1102 uses accelerated gpio functions: ? gpio registers are a dedicated ahb peripheral so that the fastest possible i/o timing can be achieved. ? entire port value can be written in one instruction. additionally, any gpio pin (total of 11 pi ns) providing a digital function can be programmed to generate an interrupt on a level, a rising or falling edge, or both. 7.7.1 features ? bit level port registers allow a single instruct ion to set or clear any number of bits in one write operation. ? direction control of individual bits. ? all i/o default to inputs with pull-ups enabled after reset. ? pull-up/pull-down resistor configuration can be programmed through the ioconfig block for each gpio pin. ? all gpio pins are pulled up to 3.3 v (v dd = 3.3 v) if their pull-up resistor is enabled in the ioconfig block. ? programmable open-drain mode. 7.8 uart the lpc1102 contains one uart.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 9 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller support for rs-485/9-bit mode allows both software address detection and automatic address detection using 9-bit mode. the uart includes a fractional baud rate generator. standard baud rates such as 115200 bd can be achieved with any crystal frequency above 2 mhz. 7.8.1 features ? maximum uart data bit rate of 3.125 mbit/s. ? 16 byte receive and transmit fifos. ? register locations conform to 16c550 industry standard. ? receiver fifo trigger points at 1 b, 4 b, 8 b, and 14 b. ? built-in fractional baud rate generator cove ring wide range of baud rates without a need for external crystals of particular values. ? fifo control mechanism that enables software flow control implementation. ? support for rs-485/9-bit mode. 7.9 spi serial i/o controller the lpc1102 contains one spi contro ller and fully sup ports ssp features. the spi controller is capable of operation on a ssp, 4-wire ssi, or microwire bus. it can interact with multiple masters and slaves on the bus. only a single master and a single slave can communicate on the bus during a given data transfer. the spi supports full duplex transfers, with frames of 4 bits to 16 bits of data flowing from the master to the slave and from the slave to the master. in practice, often only one of these data flows carries meaningful data. remark: care must be taken when using the spi because the spi clock sck and the serial wire debug clock swclk share the same pin on the wlcsp16 package. once the spi is enabled, the serial wire debugger is no longer available. 7.9.1 features ? maximum spi speed of 25 mbit/s (master) or 4.17 mbit/s (slave) (in ssp mode) ? compatible with motorola spi, 4-wire texas instruments ssi, and national semiconductor microwire buses ? synchronous serial communication ? master or slave operation ? 8-frame fifos for both transmit and receive ? 4-bit to 16-bit frame 7.10 10-bit adc the lpc1102 contains one adc. it is a sing le 10-bit successive approximation adc with five channels. 7.10.1 features ? 10-bit successive approximation adc.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 10 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller ? input multiplexing among 5 pins. ? power-down mode. ? measurement range 0 v to v dd . ? 10-bit conversion time ? 2.44 ? s (up to 400 ksamples/s). ? burst conversion mode for single or multiple inputs. ? optional conversion on transition of input pin or timer match signal. ? individual result registers for each adc channel to reduce interrupt overhead. 7.11 general purpose externa l event counter/timers the lpc1102 includes two 32-bit counter/tim ers and two 16-bit counter/timers. the counter/timer is designed to count cycles of the system derived clock. it can optionally generate interrupts or perform other actions at specified timer values, based on four match registers. each counter/timer also incl udes one capture input to trap the timer value when an input signal transitions, optionally generating an interrupt. 7.11.1 features ? a 32-bit/16-bit timer/counter with a programmable 32-bit/16-bit prescaler. ? counter or timer operation. ? one capture channel that can take a snapshot of the timer value when an input signal transitions. a capture event may also generate an interrupt. ? four match registers per timer that allow: ? continuous operation with optional interrupt generation on match. ? stop timer on match with optional interrupt generation. ? reset timer on match with optional interrupt generation. ? up to four external outputs corresponding to match registers, with the following capabilities: ? set low on match. ? set high on match. ? toggle on match. ? do nothing on match. 7.12 system tick timer the arm cortex-m0 includes a system tick timer (systic k) that is inte nded to generate a dedicated systick exception at a fi xed time interval (typically 10 ms). 7.13 windowed watchdog timer the purpose of the watchdog is to reset the controller if software fails to periodically service it within a programmable time window. 7.13.1 features ? internally resets chip if not periodically reloaded during the programmable time-out period.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 11 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller ? optional windowed operation requires reload to occur between a minimum and maximum time period, both programmable. ? optional warning interrupt can be generated at a programmable time prior to watchdog time-out. ? enabled by software but requires a hardware reset or a watchdog reset/interrupt to be disabled. ? incorrect feed sequence causes reset or interrupt if enabled. ? flag to indicate watchdog reset. ? programmable 24-bit timer with internal prescaler. ? selectable time period from (t cy(wdclk) ? 256 ? 4) to (t cy(wdclk) ? 2 24 ? 4) in multiples of t cy(wdclk) ? 4. ? the watchdog clock (wdclk) source can be selected from the irc or the dedicated watchdog oscillator (wdo). this gives a wide range of potential timing choices of watchdog operation under different power conditions. 7.14 clocking and power control 7.14.1 crystal oscillators the lpc1102 includes two inde pendent oscillators. these are the inte rnal rc oscillator (irc) and the watchdog oscillator. each oscillat or can be used for mo re than one purpose as required in a particular application. following reset, the lpc1102 will ope rate from the internal rc os cillator until switched by software. this allows systems to operate without any external crystal and the bootloader code to operate at a known frequency. see figure 4 for an overview of the lpc1102 clock generation.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 12 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 7.14.1.1 internal rc oscillator the irc may be used as the clock source for th e wdt, and/or as the clock that drives the pll and subsequently the cpu. the nominal irc frequency is 12 mhz. the irc is trimmed to 1 % accuracy over the entire voltage and temperature range. upon power-up or any chip reset, the lpc1102 uses the irc as the clock source. software may later switch to one of the other available clock sources. 7.14.1.2 watchdog oscillator the watchdog oscillator can be us ed as a clock source that directly drives the cpu or the watchdog timer. the watchdog oscillator nomi nal frequency is prog rammable between 7.8 khz and 1.7 mhz. the frequency spread over processing and temperature is ? 40 %. 7.14.2 system pll the pll accepts an input clock frequency in the range of 10 mhz to 25 mhz. the input frequency is multiplied up to a high frequency with a curren t controlled oscillator (cco). the multiplier can be an integer value from 1 to 32. the cco operates in the range of 156 mhz to 320 mhz, so there is an additional divider in the loop to keep the cco within its frequency range while the pll is prov iding the desired output frequency. the pll output frequency must be lower than 100 mhz. the output divider may be set to divide by 2, 4, 8, or 16 to produce the output clock. si nce the minimum output divider value is 2, it is insured that the pll output has a 50 % duty cycle. the pll is turned off and bypassed fig 4. lpc1102 clock generation block diagram system pll irc oscillator external clock watchdog oscillator irc oscillator watchdog oscillator mainclksel (main clock select) syspllclksel (system pll clock select) system clock divider ahb clock 0 (system) ahbclkctrl[1:18] (ahb clock enable) ahb clocks 1 to 18 (memories and peripherals) spi0 peripheral clock divider spi0 uart peripheral clock divider uart wdt clock divider wdt wdtuen (wdt clock update enable) 002aaf527 main clock system clock irc oscillator 18
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 13 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller following a chip reset and may be enabled by software. the program must configure and activate the pll, wait for the pll to lock, and then connect to the pll as a clock source. the pll settling time is 100 ? s. 7.14.3 wake-up process the lpc1102 begins o peration at power-up by using the 12 mhz irc oscillator as the clock source. this allows chip operation to resume quickly. if an external clock or the pll is needed by the applicat ion, software will need to enable these features and wait for them to stabilize before they ar e used as a clock source. 7.14.4 power control the lpc1102 supports a variety of power control features. there are two special modes of processor power reduction: sleep mode and deep-sleep mode. the cpu clock rate may also be controlled as needed by changing clock sources, reconfiguring pll values, and/or altering the cpu clock divider value. this allows a trade-off of power versus processing speed based on application requirem ents. in addition, a register is provided for shutting down the clocks to individual on-chip peripherals, allowing fine tuning of power consumption by eliminating all dynamic power use in any peripherals that are not required for the application. selected peripherals have their own clock divider which provides even better power control. 7.14.4.1 power profiles the power consumption in active and sleep modes can be optimized for the application through a simple call to the power profiles. t he power configuration ro utine configures the lpc1102 for one of the following power modes: ? default mode corresponding to power configuration after reset. ? cpu performance mode co rresponding to optimize d processing capability. ? efficiency mode corresponding to optimize d balance of current consumption and cpu performance. ? low-current mode corresponding to lowest power consumption. in addition, the power profiles includes a rout ine to select the optimal pll settings for a given system clock and pll input clock. 7.14.4.2 sleep mode when sleep mode is entered, the clock to the core is stopped. resumption from the sleep mode does not need any special sequence but re-enabling the clock to the arm core. in sleep mode, execution of instructions is suspended until either a reset or interrupt occurs. peripheral functions continue opera tion during sleep mode and may generate interrupts to cause the processor to resume execution. sleep mode eliminates dynamic power used by the processor itself, memory systems and related controllers, and internal buses. 7.14.4.3 deep-sleep mode in deep-sleep mode, the chip is in sleep mode, and in addition all analog blocks are shut down except for the watchdog oscillator and the bod circuit, which can be configured to remain running in deep-sleep mode to allow a reset initiated by a timer or bod event. deep-sleep mode allows for additional power savings.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 14 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller six of the gpio pins (see ta b l e 3 ) serve as external wake-up pins to a dedicated start logic to wake up the chip from deep-sleep mode. the clock source should be switched to irc before entering deep-sleep mode unless the watchdog oscillator remains running in deep-sleep mode. th e irc can be switched on and off glitch-free and provides a clean clock signal after start-up. 7.15 system control 7.15.1 start logic the start logic connects external pins to corresponding interrupts in the nvic. each pin shown in ta b l e 3 as input to the start logic has an individual interrupt in the nvic interrupt vector table. the start logic pins can serve as external interrupt pins when the chip is running. in addition, an input signal on the start logic pins can wake up the chip from deep-sleep mode when all clocks are shut down. the start logic must be configured in the system configuration block and in the nvic before being used. 7.15.2 reset reset has four sources on the lpc1102: the reset pin, the watchdog reset, power-on reset (por), and the brownout detection (b od) circuit. in addition, there is an arm software reset. the reset pin is a schmitt trigger input pi n. assertion of chip reset by any source, once the operating voltage attains a usable level, starts the irc and initializes the flash controller. a low-going pulse as short as 50 ns resets the part. when the internal reset is removed, the proc essor begins executing at address 0, which is initially the reset vector mapped from the bo ot block. at that point, all of the processor and peripheral registers have been in itialized to predetermined values. 7.15.3 brownout detection the lpc1102 includes four levels for monitoring the voltage on the v dd pin. if this voltage falls below one of the four selected levels, the bod asserts an interrupt signal to the nvic. this signal can be enabled for interrupt in the interrupt enable register in the nvic in order to cause a cpu interrupt; if not, software can monitor the signal by reading a dedicated status register. four additional threshold levels can be selected to cause a forced reset of the chip. 7.15.4 code security (code read protection - crp) this feature of the lpc1102 allows user to ena ble different levels of security in the system so that access to the on-chip flash and us e of the serial wire debugger (swd) can be restricted. when needed, crp is invoked by programming a specific pattern into a dedicated flash location. iap commands are not affected by the crp. there are three levels of code read protection: 1. crp1 disables access to the chip via the swd and allows partial flash update (excluding flash sector 0). this mode is us eful when crp is required and flash field updates are needed but all sectors can not be erased.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 15 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 2. crp2 disables access to the chip via the swd and only allows full flash erase and update. 3. running an application with level crp3 select ed fully disables any access to the chip via the swd pins. remark: the lpc1102 does not provide an isp entry pin to be monitored at reset. for all three crp levels, the user?s application co de must provide a flash update mechanism which reinvokes isp by defining a us er-selected pion pin for isp entry. 7.15.5 apb interface the apb peripherals are located on one apb bus. 7.15.6 ahblite the ahblite connects the cpu bus of the arm cortex-m0 to the flash memory, the main static ram, and the boot rom. 7.15.7 external interrupt inputs all gpio pins can be level or edge sensitive interrupt inputs. in addition, start logic inputs serve as external interrupts (see section 7.15.1 ). 7.16 emulation and debugging debug functions are integrated into the arm cortex-m0. serial wire debug with four breakpoints and two watchpoints is supported. remark: care must be taken when using the spi because the spi clock sck and the serial wire debug clock swclk share the same pin on the wlcsp16 package. once the spi is enabled, the serial wire debugger is no longer available. caution if code read protection of any level (crp1, crp 2 or crp3) is selected, no future factory testing can be performed on the device.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 16 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 8. limiting values [1] the following applies to the limiting values: a) this product includes circuitry specif ically designed for the protection of its in ternal devices from the damaging effects of excessive static charge. nonetheless, it is sugges ted that conventional precautions be tak en to avoid applying greater than the rated maximum. b) parameters are valid over operating te mperature range unless otherwise specifi ed. all voltages are with respect to v ss unless otherwise noted. [2] including voltage on outputs in 3-state mode. [3] the peak current is limited to 25 times the corresponding maximum current. [4] the maximum non-operating storage temperature is different t han the temperature for required shelf life which should be dete rmined based on required shelf lifetime. please refer to t he jedec spec (j-std-033b.1) for further details. [5] human body model: equivalent to dischar ging a 100 pf capacitor through a 1.5 k ? series resistor. table 4. limiting values in accordance with the absolute ma ximum rating system (iec 60134). [1] symbol parameter conditions min max unit v dd supply voltage (core and external rail) 1.8 3.6 v v i input voltage 5 v tolerant i/o pins; only valid when the v dd supply voltage is present [2] ? 0.5 +5.5 v i dd supply current per supply pin [3] - 100 ma i ss ground current per ground pin [3] - 100 ma i latch i/o latch-up current ? (0.5v dd ) < v i < (1.5v dd ); t j < 125 ? c - 100 ma t stg storage temperature non-operating [4] ? 65 +150 ?c t j(max) maximum junction temperature - 150 ?c p tot(pack) total power dissipation (per package) based on package heat transfer, not device power consumption -1.5w v esd electrostatic discharge voltage human body model; all pins [5] ? 6500 +6500 v
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 17 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 9. static characteristics table 5. static characteristics t amb = ? 40 ? c to +85 ? c, unless otherwise specified. symbol parameter conditions min typ [1] max unit v dd supply voltage (core and external rail) 1.8 3.3 3.6 v i dd supply current active mode; code while(1){} executed from flash system clock = 12 mhz v dd = 3.3 v [2] [3] [4] [5] [6] -2-m a system clock = 50 mhz v dd = 3.3 v [2] [3] [5] [6] [7] -7-m a sleep mode; system clock = 12 mhz v dd = 3.3 v [2] [3] [4] [5] [6] -1-m a deep-sleep mode; v dd = 3.3 v [2] [3] [8] -2- ? a standard port pins, reset i il low-level input current v i = 0 v; on-chip pull-up resistor disabled - 0.5 10 na i ih high-level input current v i =v dd ; on-chip pull-down resistor disabled - 0.5 10 na i oz off-state output current v o =0v; v o =v dd ; on-chip pull-up/down resistors disabled - 0.5 10 na v i input voltage pin configured to provide a digital function [9] [10] 0- 5 . 0v v o output voltage output active 0 - v dd v v ih high-level input voltage 0.7v dd --v v il low-level input voltage - - 0.3v dd v v hys hysteresis voltage - 0.4 - v v oh high-level output voltage 2.0 v ? v dd ? 3.6 v; i oh = ? 4 ma v dd ? 0.4--v 1.8 v ? v dd < 2.0 v; i oh = ? 3 ma v dd ? 0.4--v v ol low-level output voltage 2.0 v ? v dd ? 3.6 v; i ol =4 ma --0.4v 1.8 v ? v dd < 2.0 v; i ol =3 ma --0 . 4v i oh high-level output current v oh =v dd ? 0.4 v; 2.0 v ? v dd ? 3.6 v ? 4--m a 1.8 v ? v dd < 2.0 v ? 3--ma
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 18 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller [1] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. [2] t amb =25 ? c. [3] i dd measurements were performed with all pins configured as gpio outputs driven low and pull-up resistors disabled. [4] irc enabled; external clock disabled; system pll disabled. [5] bod disabled. [6] all peripherals disabled in the sysahbclkctrl register. peri pheral clocks to uart and spi0/1 disabled in system configuratio n block. low-current mode pwr_low_current selected when r unning the set_power routine in the power profiles. [7] irc disabled; system oscill ator enabled; system pll enabled. [8] all oscillators and analog blocks turned off in the pdsleepcfg register; pdsleepcfg = 0x0000 18ff. [9] including voltage on outputs in 3-state mode. [10] v dd supply voltage must be present. [11] allowed as long as the current limit does not exceed the maximum current allowed by the device. i ol low-level output current v ol =0.4v 2.0 v ? v dd ? 3.6 v 4--m a 1.8 v ? v dd < 2 . 0 v 3--m a i ohs high-level short-circuit output current v oh =0v [11] --? 45 ma i ols low-level short-circuit output current v ol =v dd [11] --5 0m a i pd pull-down current v i =5v 10 50 150 ? a i pu pull-up current v i =0v; 2.0 v ? v dd ? 3.6 v ? 15 ? 50 ? 85 ? a 1.8 v ? v dd < 2.0 v ? 10 ? 50 ? 85 ? a v dd lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 19 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller [1] the adc is monotonic, there are no missing codes. [2] the differential linearity error (e d ) is the difference between the actual step width and the ideal step width. see figure 5 . [3] the integral non-linearity (e l(adj) ) is the peak difference between the center of the st eps of the actual and the ideal transfer curve after appropriate adjustment of gain and offset errors. see figure 5 . [4] the offset error (e o ) is the absolute difference between the straight line which fits the actual cu rve and the straight line which fits the ideal curve. see figure 5 . [5] the gain error (e g ) is the relative difference in percent between the straight line fitting the actual transfe r curve after removing offset error, and the straight line which fits the ideal transfer curve. see figure 5 . [6] the absolute error (e t ) is the maximum difference between the center of the steps of the actual transfer curve of the non-calibrated adc and the ideal transfer curve. see figure 5 . [7] t amb = 25 ? c; maximum sampling frequency f s = 400 ksamples/s and analog input capacitance c ia = 1 pf. [8] input resistance r i depends on the sampling frequency f s : r i = 1 / (f s ? c ia ). table 6. adc static characteristics t amb = ? 40 ? c to +85 ? c unless otherwise specified; adc frequency 4.5 mhz, v dd = 2.5 v to 3.6 v. symbol parameter conditions min typ max unit v ia analog input voltage 0 - v dd v c ia analog input capacitance - - 1 pf e d differential linearity error [1] [2] --? 1lsb e l(adj) integral non-linearity [3] --? 1.5 lsb e o offset error [4] --? 3.5 lsb e g gain error [5] --0 . 6% e t absolute error [6] --? 4lsb r vsi voltage source interface resistance --40k ? r i input resistance [7] [8] --2 . 5m ?
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 20 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller (1) example of an actual transfer curve. (2) the ideal transfer curve. (3) differential linearity error (e d ). (4) integral non-linearity (e l(adj) ). (5) center of a step of the actual transfer curve. fig 5. adc characteristics 002aaf426 1023 1022 1021 1020 1019 (2) (1) 1024 1018 1019 1020 1021 1022 1023 7 123456 7 6 5 4 3 2 1 0 1018 (5) (4) (3) 1 lsb (ideal) code out v dd ? v ss 1024 offset error e o gain error e g offset error e o v ia (lsb ideal ) 1 lsb =
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 21 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 9.1 bod static characteristics [1] interrupt levels are selected by writing the leve l value to the bod control register bodctrl, see lpc1102 user manual . 9.2 power consumption power measurements in active, sleep, and deep-sleep modes were performed under the following conditions (see lpc1102 user manual ): ? configure all pins as gpio with pull-up resistor disabled in the ioconfig block. ? configure gpio pins as outputs using the gpiondir registers. ? write 0 to all gpiondata registers to drive the outputs low. table 7. bod static characteristics [1] t amb =25 ? c. symbol parameter conditions min typ max unit v th threshold voltage interrupt level 0 assertion - 1.65 - v de-assertion - 1.80 - v interrupt level 1 assertion - 2.22 - v de-assertion - 2.35 - v interrupt level 2 assertion - 2.52 - v de-assertion - 2.66 - v interrupt level 3 assertion - 2.80 - v de-assertion - 2.90 - v reset level 0 assertion - 1.46 - v de-assertion - 1.63 - v reset level 1 assertion - 2.06 - v de-assertion - 2.15 - v reset level 2 assertion - 2.35 - v de-assertion - 2.43 - v reset level 3 assertion - 2.63 - v de-assertion - 2.71 - v
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 22 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller conditions: t amb = 25 ? c; active mode entered executing code while(1){} from flash; all peripherals disabled in the sysahbclkctrl register (sysahbclkctrl= 0x1f); all peripheral clocks disabled; internal pull-up resistors disabled; bod disabled; low-current mode. (1) system pll disabled; irc enabled. (2) system pll enabled; irc disabled. fig 6. active mode: typical supply current i dd versus supply voltage v dd for different system clock frequencies conditions: v dd = 3.3 v; active mode entered executing code while(1){} from flash; all peripherals disabled in the sysahbclkctrl register (sysahbclkctrl= 0x1f); all peripheral clocks disabled; internal pull-up resistors disabled; bod disabled; low-current mode. (1) system pll disabled; irc enabled. (2) system pll enabled; irc disabled. fig 7. active mode: typical supply current i dd versus temperature for different system clock frequencies v dd (v) 1.8 3.6 3.0 2.4 002aaf980 4 6 2 8 10 i dd (ma) 0 12 mhz (1) 24 mhz (2) 36 mhz (2) 48 mhz (2) 002aaf981 temperature ( c) ?40 85 35 10 60 ?15 2 8 6 4 10 i dd (ma) 0 12 mhz (1) 24 mhz (2) 36 mhz (2) 48 mhz (2)
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 23 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller conditions: v dd = 3.3 v; sleep mode entered from fl ash; all peripheral s disabled in the sysahbclkctrl register (sysahbclk ctrl= 0x1f); all peripheral clocks disabled; internal pull-up resistors disabled; bo d disabled; low-current mode. (1) system pll disabled; irc enabled. (2) system pll enabled; irc disabled. fig 8. sleep mode: typical supply current i dd versus temperature for different system clock frequencies conditions: bod disabled; all oscillators and analog blocks disabled in the pdsleepcfg register (pdsleepcfg = 0x0000 18ff). fig 9. deep-sleep mode: typical supply current i dd versus temperature for different supply voltages v dd temperature ( c) ?40 85 35 10 60 ?15 002aaf982 2 4 6 i dd (ma) 0 12 mhz (1) 24 mhz (2) 36 mhz (2) 48 mhz (2) 002aaf977 temperature ( c) ?40 85 35 10 60 ?15 2.5 4.5 3.5 5.5 i dd (a) 1.5 v dd = 3.3 v, 3.6 v 1.8 v
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 24 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 9.3 electrical pi n characteristics conditions: v dd = 3.3 v; standard port pins. fig 10. typical low-l evel output current i ol versus low-level output voltage v ol conditions: v dd = 3.3 v; standard port pins. fig 11. typical high-level output voltage v oh versus high-level output source current i oh v ol (v) 0 0.6 0.4 0.2 002aae991 5 10 15 i ol (ma) 0 t = 85 c 25 c ?40 c i oh (ma) 0 24 16 8 002aae992 2.8 2.4 3.2 3.6 v oh (v) 2 t = 85 c 25 c ?40 c
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 25 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller conditions: v dd = 3.3 v; standard port pins. fig 12. typical pull-up current i pu versus input voltage v i conditions: v dd = 3.3 v; standard port pins. fig 13. typical pull-down current i pd versus input voltage v i v i (v) 0 5 4 23 1 002aae988 ?30 ?50 ?10 10 i pu (a) ?70 t = 85 c 25 c ?40 c v i (v) 0 5 4 23 1 002aae989 40 20 60 80 i pd (a) 0 t = 85 c 25 c ?40 c
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 26 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 10. dynamic characteristics 10.1 power-up ramp conditions [1] see figure 14 . [2] the wait time specifies the time the power supply must be at levels below 400 mv before ramping up. 10.2 flash memory [1] number of program/erase cycles. [2] programming times are given for writing 256 bytes from ram to the flash. data must be written to the flash in blocks of 256 bytes. table 8. power-up characteristics t amb = ? 40 ? c to +85 ?c. symbol parameter conditions min typ max unit t r rise time at t = t 1 : 0 < v i ?? 400 mv [1] 0- 500 ms t wait wait time [1] [2] 12 - - ? s v i input voltage at t = t 1 on pin v dd 0 - 400 mv condition: 0 < v i ?? 400 mv at start of power-up (t = t 1 ) fig 14. power-up ramp v dd 0 400 mv t r t wait t = t 1 002aag001 table 9. flash characteristics t amb = ? 40 ? c to +85 ? c, unless otherwise specified. symbol parameter conditions min typ max unit n endu endurance [1] 10000 100 000 - cycles t ret retention time powered 10 - - years unpowered 20 - - years t er erase time sector or multiple consecutive sectors 95 100 105 ms t prog programming time [2] 0.95 1 1.05 ms
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 27 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 10.3 external clock [1] parameters are valid over operating temp erature range unless otherwise specified. [2] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. table 10. dynamic characteristic: external clock t amb = ? 40 ? c to +85 ? c; v dd over specified ranges. [1] symbol parameter conditions min typ [2] max unit f osc oscillator frequency 1 - 25 mhz t cy(clk) clock cycle time 40 - 1000 ns t chcx clock high time t cy(clk) ? 0.4--ns t clcx clock low time t cy(clk) ? 0.4--ns t clch clock rise time - - 5 ns t chcl clock fall time - - 5 ns fig 15. external clock timing (with an amplitude of at least v i(rms) = 200 mv) t chcl t clcx t chcx t cy(clk) t clch 002aaa907
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 28 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 10.4 internal oscillators [1] parameters are valid over operating temp erature range unless otherwise specified. [2] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. [1] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. [2] the typical frequency spread over processing and temperature (t amb = ?40 ? c to +85 ? c) is ? 40 %. [3] see the lpc1102 user manual . table 11. dynamic characteristic: internal oscillators t amb = ? 40 ? c to +85 ? c; 2.7 v ? v dd ? 3.6 v. [1] symbol parameter conditions min typ [2] max unit f osc(rc) internal rc oscillator frequency - 11.88 12 12.12 mhz conditions: frequency values are typical values. 12 mhz ? 1 % accuracy is guaranteed for 2.7 v ? v dd ? 3.6 v and t amb = ?40 ? c to +85 ? c. variations between parts may cause the irc to fall outside the 12 mhz ? 1 % accuracy specification for voltages below 2.7 v. fig 16. internal rc oscillator frequency versus temperature table 12. dynamic characterist ics: watchdog oscillator symbol parameter conditions min typ [1] max unit f osc(int) internal oscillator frequency divsel = 0x1f, freqsel = 0x1 in the wdtoscctrl register; [2] [3] -7.8 - khz divsel = 0x00, freqsel = 0xf in the wdtoscctrl register [2] [3] - 1700 - khz 002aaf403 11.95 12.05 12.15 f (mhz) 11.85 temperature ( c) ?40 85 35 10 60 ?15 vdd = 3.6 v 3.3 v 3.0 v 2.7 v 2.4 v 2.0 v
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 29 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 10.5 i/o pins [1] applies to standard port pins and reset pin. 10.6 spi interfaces [1] t cy(clk) = (sspclkdiv ? (1 + scr) ? cpsdvsr) / f main . the clock cycle time deriv ed from the spi bit rate t cy(clk) is a function of the main clock frequency f main , the spi peripheral clock divider (sspclkdiv), the spi scr parameter (specified in the ssp0cr0 register), and the spi cpsdvsr parameter (specified in the spi clock prescale register). [2] t amb = ?40 ? c to 85 ? c. [3] t cy(clk) = 12 ? t cy(pclk) . [4] t amb = 25 ? c; for normal voltage supply range: v dd = 3.3 v. table 13. dynamic characteristic: i/o pins [1] t amb = ? 40 ? c to +85 ? c; 3.0 v ? v dd ? 3.6 v. symbol parameter conditions min typ max unit t r rise time pin configured as output 3.0 - 5.0 ns t f fall time pin configured as output 2.5 - 5.0 ns table 14. dynamic characteristics of spi pins in spi mode symbol parameter conditions min typ max unit spi master (in spi mode) t cy(clk) clock cycle time wh en only receiving [1] 50 - - ns when only transmitting [1] 40 ns t ds data set-up time in spi mode 2.4 v ? v dd ? 3.6 v [2] 15 - - ns 2.0 v ? v dd < 2.4 v [2] 20 ns 1.8 v ? v dd < 2.0 v [2] 24 - - ns t dh data hold time in spi mode [2] 0-- n s t v(q) data output valid time in spi mode [2] -- 1 0 n s t h(q) data output hold time in spi mode [2] 0-- n s spi slave (in spi mode) t cy(pclk) pclk cycle time 20 - - ns t ds data set-up time in spi mode [3] [4] 0-- n s t dh data hold time in spi mode [3] [4] 3 ? t cy(pclk) + 4 - - ns t v(q) data output valid time in spi mode [3] [4] -- 3 ? t cy(pclk) + 11 ns t h(q) data output hold time in spi mode [3] [4] -- 2 ? t cy(pclk) + 5 ns
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 30 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller fig 17. spi master timing in spi mode sck (cpol = 0) mosi miso t cy(clk) t clk(h) t clk(l) t ds t dh t v(q) data valid data valid t h(q) sck (cpol = 1) data valid data valid mosi miso t ds t dh data valid data valid t h(q) data valid data valid t v(q) cpha = 1 cpha = 0 002aae829
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 31 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller fig 18. spi slave timing in spi mode sck (cpol = 0) mosi miso t cy(clk) t clk(h) t clk(l) t ds t dh t v(q) data valid data valid t h(q) sck (cpol = 1) data valid data valid mosi miso t ds t dh t v(q) data valid data valid t h(q) data valid data valid cpha = 1 cpha = 0 002aae830
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 32 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 11. application information 11.1 adc usage notes the following guidelines show how to increase the performance of the adc in a noisy environment beyond the adc specifications listed in ta b l e 6 : ? the adc input trace must be short and as close as possible to the lpc1102 chip. ? the adc input traces must be shielded from fast switching digital signals and noisy power supply lines. ? because the adc and the digital core share the same power supply, the power supply line must be adequately filtered. ? to improve the adc performance in a very no isy environment, put the device in sleep mode during the adc conversion. 11.2 xtal input the input voltage to the on-chip oscillators is limited to 1.8 v. if the oscillator is driven by a clock in slave mode, it is recommended that th e input be coupled through a capacitor with c i = 100 pf. to limit the input voltage to the specified range, choose an additional capacitor to ground c g which attenuates the input voltage by a factor c i /(c i + c g ). in slave mode, a minimum of 200 mv (rms) is needed. in slave mode the input clock signal should be coupled by means of a capacitor of 100 pf ( figure 19 ), with an amplitude between 200 mv (rms) and 1000 mv (rms). this corresponds to a square wave signal with a signal swing of between 280 mv and 1.4 v. 11.3 standard i/o pad configuration figure 20 shows the possible pin modes for standard i/o pins with analog input function: ? digital output driver ? digital input: pull-up enabled/disabled ? digital input: pull-down enabled/disabled ? digital input: repeater mode enabled/disabled ? analog input fig 19. slave mode operation of the on-chip oscillator lpc1xxx xtalin c i 100 pf c g 002aae788
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 33 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 11.4 reset pad configuration fig 20. standard i/o pad configuration pin v dd esd v ss esd v dd weak pull-up weak pull-down output enable repeater mode enable output pull-up enable pull-down enable data input analog input select analog input 002aaf304 pin configured as digital output driver pin configured as digital input pin configured as analog input fig 21. reset pad configuration v ss reset 002aaf274 v dd v dd v dd r pu esd esd 20 ns rc glitch filter pin
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 34 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 12. package outline fig 22. package outline lpc1102uk (wlcsp16) references outline version european projection issue date iec jedec jeita lpc1102uk - - - - - - - - - lpc1102uk_po 10-10-15 10-10-18 unit mm max nom min 0.65 0.60 0.55 0.27 0.24 0.21 0.35 0.32 0.29 2.21 2.17 2.13 2.36 2.32 2.28 0.5 1.5 0.15 a dimensions wlcsp16: wafer level chip-size package; 16 bumps; body 2.17 x 2.32 x 0.6 mm lpc1102uk a 1 a 2 0.38 0.36 0.34 bdeee 1 1.5 e 2 vw 0.05 0.05 y 0 1 2 mm scale ball a1 index area b a d e c y x detail x a a 2 a 1 b e 2 e 1 e e 1/2 e 1/2 e ac b  v c  w ball a1 index area 1234 a b c d
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 35 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 13. abbreviations table 15. abbreviations acronym description adc analog-to-digital converter ahb advanced high-performance bus apb advanced peripheral bus bod brownout detection gpio general purpose input/output pll phase-locked loop rc resistor-capacitor spi serial peripheral interface ssi serial synchronous interface ssp synchronous serial port uart universal asynchronous receiver/transmitter
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 36 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 14. revision history table 16. revision history document id release date data sheet status change notice supersedes lpc1102 v.4 20110624 product data sheet - lpc1102 v.3 modifications: ? adc sampling frequ ency corrected in table 6 ( table note 7 ). ? parameter t cy(clk) corrected on ta b l e 1 4 . ? windowed wdt features added ( section 7.13 ). ? programmable open-drain mode added to gpio pins ( section 7.7 ). ? pull-up level specified in table 3 , table note 1 and section 7.7 . ? condition for parameter t stg in table 4 updated. ? table note 4 of table 4 updated. lpc1102 v.3 20110418 product data sheet - lpc1102 v.2 modifications: ? changed data sheet status to product. ? power consumption data added (see figure 6 to figure 9). ? section 10.1 ?power-up ramp conditions? added. ? reset pad description updated (5 v tolerant) in table 3. ? irc frequency data added (see figure 16 ?internal rc oscillator frequency versus temperature?. ? clock output removed from feature list. lpc1102 v.2 20101126 preliminary data sheet - lpc1102 v.1 modifications: ? changed data sheet status to preliminary. lpc1102 v.1 20101116 objective data sheet - -
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 37 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller 15. legal information 15.1 data sheet status [1] please consult the most recently issued document before initiating or completing a design. [2] the term ?short data sheet? is explained in section ?definitions?. [3] the product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple device s. the latest product status information is available on the internet at url http://www.nxp.com . 15.2 definitions draft ? the document is a draft versi on only. the content is still under internal review and subject to formal approval, which may result in modifications or additions. nxp semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall hav e no liability for the consequences of use of such information. short data sheet ? a short data sheet is an extract from a full data sheet with the same product type number(s) and title. a short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. for detailed and full information see the relevant full data sheet, which is available on request vi a the local nxp semiconductors sales office. in case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail. product specification ? the information and data provided in a product data sheet shall define the specification of the product as agreed between nxp semiconductors and its customer , unless nxp semiconductors and customer have explicitly agreed otherwis e in writing. in no event however, shall an agreement be valid in which the nxp semiconductors product is deemed to offer functions and qualities beyond those described in the product data sheet. 15.3 disclaimers limited warranty and liability ? information in this document is believed to be accurate and reliable. however, nxp semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. in no event shall nxp semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. notwithstanding any damages that customer might incur for any reason whatsoever, nxp semiconductors? aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the terms and conditions of commercial sale of nxp semiconductors. right to make changes ? nxp semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. this document supersedes and replaces all information supplied prior to the publication hereof. suitability for use ? nxp semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an nxp semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. nxp semiconductors accepts no liability for inclusion and/or use of nxp semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer?s own risk. applications ? applications that are described herein for any of these products are for illustrative purpos es only. nxp semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. customers are responsible for the design and operation of their applications and products using nxp semiconductors products, and nxp semiconductors accepts no liability for any assistance with applications or customer product design. it is customer?s sole responsibility to determine whether the nxp semiconductors product is suitable and fit for the customer?s applications and products planned, as well as fo r the planned application and use of customer?s third party customer(s). customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. nxp semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer?s applications or products, or the application or use by customer?s third party customer(s). customer is responsible for doing all necessary testing for the customer?s applic ations and products using nxp semiconductors products in order to av oid a default of the applications and the products or of the application or use by customer?s third party customer(s). nxp does not accept any liability in this respect. limiting values ? stress above one or more limiting values (as defined in the absolute maximum ratings system of iec 60134) will cause permanent damage to the device. limiting values are stress ratings only and (proper) operation of the device at these or any other conditions above those given in the recommended operating conditions section (if present) or the characteristics sections of this document is not warranted. constant or repeated exposure to limiting values will permanently and irreversibly affect the quality and reliability of the device. terms and conditions of commercial sale ? nxp semiconductors products are sold subject to the gener al terms and conditions of commercial sale, as published at http://www.nxp.com/profile/terms , unless otherwise agreed in a valid written individual agreement. in case an individual agreement is concluded only the terms and conditions of the respective agreement shall apply. nxp semiconductors hereby expressly objects to applying the customer?s general terms and conditions with regard to the purchase of nxp semiconducto rs products by customer. no offer to sell or license ? nothing in this document may be interpreted or construed as an offer to sell products t hat is open for acceptance or the grant, conveyance or implication of any lic ense under any copyrights, patents or other industrial or intellectual property rights. export control ? this document as well as the item(s) described herein may be subject to export control regulations. export might require a prior authorization from national authorities. document status [1] [2] product status [3] definition objective [short] data sheet development this document contains data from the objecti ve specification for product development. preliminary [short] data sheet qualification this document contains data from the preliminary specification. product [short] data sheet production this document contains the product specification.
lpc1102 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. product data sheet rev. 4 ? 24 june 2011 38 of 39 nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller non-automotive qualified products ? unless this data sheet expressly states that this specific nxp semicon ductors product is automotive qualified, the product is not suitable for automotive use. it is neither qualified nor tested in accordance with automotive testing or application requirements. nxp semiconductors accepts no liabili ty for inclusion and/or use of non-automotive qualified products in automotive equipment or applications. in the event that customer uses t he product for design-in and use in automotive applications to automotive specifications and standards, customer (a) shall use the product without nxp semiconductors? warranty of the product for such automotive applicat ions, use and specifications, and (b) whenever customer uses the product for automotive applications beyond nxp semiconductors? specifications such use shall be solely at customer?s own risk, and (c) customer fully indemnifies nxp semiconductors for any liability, damages or failed product claims resulting from customer design and use of the product for automotive app lications beyond nxp semiconductors? standard warranty and nxp semiconduct ors? product specifications. 15.4 trademarks notice: all referenced brands, produc t names, service names and trademarks are the property of their respective owners. 16. contact information for more information, please visit: http://www.nxp.com for sales office addresses, please send an email to: salesaddresses@nxp.com
nxp semiconductors lpc1102 32-bit arm cortex-m0 microcontroller ? nxp b.v. 2011. all rights reserved. for more information, please visit: http://www.nxp.com for sales office addresses, please se nd an email to: salesaddresses@nxp.com date of release: 24 june 2011 document identifier: lpc1102 please be aware that important notices concerning this document and the product(s) described herein, have been included in section ?legal information?. 17. contents 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 2 features and benefits . . . . . . . . . . . . . . . . . . . . 1 3 applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 4 ordering information . . . . . . . . . . . . . . . . . . . . . 2 4.1 ordering options . . . . . . . . . . . . . . . . . . . . . . . . 2 5 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 6 pinning information . . . . . . . . . . . . . . . . . . . . . . 4 6.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 6.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4 7 functional description . . . . . . . . . . . . . . . . . . . 6 7.1 arm cortex-m0 processor . . . . . . . . . . . . . . . . 6 7.2 on-chip flash program memory . . . . . . . . . . . . 6 7.3 on-chip sram . . . . . . . . . . . . . . . . . . . . . . . . . 6 7.4 memory map. . . . . . . . . . . . . . . . . . . . . . . . . . . 6 7.5 nested vectored interrupt controller (nvic) . . 7 7.5.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7.5.2 interrupt sources. . . . . . . . . . . . . . . . . . . . . . . . 8 7.6 ioconfig block . . . . . . . . . . . . . . . . . . . . . . . 8 7.7 fast general purpose parallel i/o . . . . . . . . . . . 8 7.7.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 7.8 uart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 7.8.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 7.9 spi serial i/o controller. . . . . . . . . . . . . . . . . . . 9 7.9.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 7.10 10-bit adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 7.10.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 7.11 general purpose external event counter/timers . . . . . . . . . . . . . . . . . . . . . . . . . 10 7.11.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 7.12 system tick timer . . . . . . . . . . . . . . . . . . . . . . 10 7.13 windowed watchdog timer . . . . . . . . . . . . . . 10 7.13.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 7.14 clocking and power control . . . . . . . . . . . . . . 11 7.14.1 crystal oscillators . . . . . . . . . . . . . . . . . . . . . . 11 7.14.1.1 internal rc oscillator . . . . . . . . . . . . . . . . . . . 12 7.14.1.2 watchdog oscillator . . . . . . . . . . . . . . . . . . . . 12 7.14.2 system pll . . . . . . . . . . . . . . . . . . . . . . . . . . 12 7.14.3 wake-up process . . . . . . . . . . . . . . . . . . . . . . 13 7.14.4 power control . . . . . . . . . . . . . . . . . . . . . . . . . 13 7.14.4.1 power profiles . . . . . . . . . . . . . . . . . . . . . . . . 13 7.14.4.2 sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 13 7.14.4.3 deep-sleep mode . . . . . . . . . . . . . . . . . . . . . . 13 7.15 system control . . . . . . . . . . . . . . . . . . . . . . . . 14 7.15.1 start logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 7.15.2 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 7.15.3 brownout detection . . . . . . . . . . . . . . . . . . . . . 14 7.15.4 code security (code read protection - crp) 14 7.15.5 apb interface . . . . . . . . . . . . . . . . . . . . . . . . . 15 7.15.6 ahblite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 7.15.7 external interr upt inputs . . . . . . . . . . . . . . . . . 15 7.16 emulation and debugging . . . . . . . . . . . . . . . 15 8 limiting values . . . . . . . . . . . . . . . . . . . . . . . . 16 9 static characteristics . . . . . . . . . . . . . . . . . . . 17 9.1 bod static characteristics . . . . . . . . . . . . . . . 21 9.2 power consumption . . . . . . . . . . . . . . . . . . . 21 9.3 electrical pin characteristics. . . . . . . . . . . . . . 24 10 dynamic characteristics. . . . . . . . . . . . . . . . . 26 10.1 power-up ramp conditions . . . . . . . . . . . . . . . 26 10.2 flash memory . . . . . . . . . . . . . . . . . . . . . . . . 26 10.3 external clock. . . . . . . . . . . . . . . . . . . . . . . . . 27 10.4 internal oscillators . . . . . . . . . . . . . . . . . . . . . 28 10.5 i/o pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 10.6 spi interfaces. . . . . . . . . . . . . . . . . . . . . . . . . 29 11 application information . . . . . . . . . . . . . . . . . 32 11.1 adc usage notes. . . . . . . . . . . . . . . . . . . . . . 32 11.2 xtal input . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 11.3 standard i/o pad configuration . . . . . . . . . . . 32 11.4 reset pad configuration . . . . . . . . . . . . . . . . . 33 12 package outline. . . . . . . . . . . . . . . . . . . . . . . . 34 13 abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 35 14 revision history . . . . . . . . . . . . . . . . . . . . . . . 36 15 legal information . . . . . . . . . . . . . . . . . . . . . . 37 15.1 data sheet status . . . . . . . . . . . . . . . . . . . . . . 37 15.2 definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 15.3 disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 37 15.4 trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 38 16 contact information . . . . . . . . . . . . . . . . . . . . 38 17 contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39


▲Up To Search▲   

 
Price & Availability of LPC11021106

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X